/*
 * Native.c
 *
 *  Created on: 2011-7-21
 *      Author: gexiao
 */

/*
 * Native method resolution.
 *
 * Currently the "Dalvik native" methods are only used for internal methods.
 * Someday we may want to export the interface as a faster but riskier
 * alternative to JNI.
 */
#include "Dalvik.h"

/*
 * Resolve a native method and invoke it.
 *
 * This is executed as if it were a native bridge or function. If the
 * resolution succeeds, method->insns is replaced, and we don't go through
 * here again.
 *
 * Initializes method's class if necessary.
 *
 * An exception is thrown on resolution failure.
 */
void dvmResolveNativeMethod(const u4* args, JValue* pResult,
		const Method* method, Thread* self) {

}

